# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
pkgname=nkk
pkgver=0_git20221010
_commit=b3c87f883d6bad7a
pkgrel=0
pkgdesc="Simple wayland client library briding the gap from cairo to wayland"
url="https://code.jessemcclure.org/nkk/"
arch="all"
license="MIT"
depends_dev="
	cairo-dev
	libxkbcommon-dev
	mesa-dev
	pango-dev
	wayland-dev
	"
makedepends="$depends_dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://code.jessemcclure.org/nkk/tarball/$_commit/nkk-$_commit.tar.gz
	pc-opengl.patch
	"
builddir="$srcdir/nkk-$_commit"
options="!check" # no testsuite provided

build() {
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
b66a03ef446ed3b005c41db967f71385601a9b9d85b9ecf3567fd5564eb38962f1dbc0356da36750a9076b59aa4aa2abb35220da5d4e6fe0b36e9339fdc87ff2  nkk-b3c87f883d6bad7a.tar.gz
5088862425121660e3ca3a16af29260b501d266e269f9502ccf176e974da517c8c4081d4113b715491f803012550c7e3664ccd1360a1d1b5c0557382de121499  pc-opengl.patch
"
